package com.hoo.form.equipment;

import java.util.Date;
import com.hoo.common.constant.Constant;
import com.hoo.form.account.BaseTableForm;
import com.hoo.util.DateUtils;

public class AdvertiseForm extends BaseTableForm  {

	private int id;
	private String imagePath;
	private String title;
	private String advertiseContent;
	private Date addTime;
	private Date updateTime;
	private String addTimeStr;
	private String updateTimeStr;
	private int status;
	private int advertiseType;
	private String advertiseDescription;
	private String imagePath2;
	private String imagePath3;
	
	public String getImagePath2() {
		return imagePath2;
	}
	public void setImagePath2(String imagePath2) {
		this.imagePath2 = imagePath2;
	}
	public String getImagePath3() {
		return imagePath3;
	}
	public void setImagePath3(String imagePath3) {
		this.imagePath3 = imagePath3;
	}
	public String getAdvertiseDescription() {
		return advertiseDescription;
	}
	public void setAdvertiseDescription(String advertiseDescription) {
		this.advertiseDescription = advertiseDescription;
	}
	public int getAdvertiseType() {
		return advertiseType;
	}
	public void setAdvertiseType(int advertiseType) {
		this.advertiseType = advertiseType;
	}
	public String getUpdateTimeStr() {
		return updateTimeStr;
	}
	public void setUpdateTimeStr(String updateTimeStr) {
		this.updateTimeStr = updateTimeStr;
	}
	public String getAddTimeStr() {
		return addTimeStr;
	}
	public void setAddTimeStr(String addTimeStr) {
		this.addTimeStr = addTimeStr;
	}
	public int getStatus() {
		return status;
	}
	public void setStatus(int status) {
		this.status = status;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getImagePath() {
		return imagePath;
	}
	public void setImagePath(String imagePath) {
		this.imagePath = imagePath;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getAdvertiseContent() {
		return advertiseContent;
	}
	public void setAdvertiseContent(String advertiseContent) {
		this.advertiseContent = advertiseContent;
	}
	public Date getAddTime() {
		return addTime;
	}
	public void setAddTime(Date addTime) {
		this.addTime = addTime;
		this.addTimeStr = addTime !=null ?DateUtils.getDateString(addTime, Constant.DATE_FORMAT_LONG_ONE):"";
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
		this.updateTimeStr = updateTime !=null ?DateUtils.getDateString(updateTime,Constant.DATE_FORMAT_LONG_ONE):"";
	}
	
}
